.so-takeaway-topbar .self-order-table strong {
  color: #166534;
}

.so-takeaway-payment .self-order-section-head span,
.so-takeaway-success .self-order-success-detail b {
  color: #516070;
}

.so-takeaway-status-card {
  gap: 16px;
}

.so-takeaway-mark {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 4px;
  border-radius: 999px;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.so-takeaway-mark.pending {
  border: 1px solid #fed7aa;
  background: linear-gradient(145deg, #fff8ed 0%, #fff 100%);
  color: #c2410c;
  box-shadow: 0 16px 34px rgba(194, 65, 12, 0.12);
}

.so-takeaway-mark.paid {
  background: #2f9b76;
  color: #fff;
  box-shadow: 0 18px 42px rgba(47, 155, 118, 0.22);
}

.so-takeaway-mark.expired {
  border: 0;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 18px 42px rgba(220, 38, 38, 0.24);
}

.so-takeaway-active-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d5eadf;
  border-radius: 8px;
  background: #f4fbf7;
  color: #18372a;
}

.so-takeaway-active-card strong {
  font-size: 1.8rem;
  letter-spacing: 0;
}

.so-takeaway-number {
  display: block;
  width: fit-content;
  margin: 10px auto 14px;
  padding: 8px 18px;
  border: 1px solid #b9dec9;
  border-radius: 8px;
  background: #f4fbf7;
  color: #14532d;
  font-size: clamp(2.2rem, 12vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.so-takeaway-wallet-icon {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 40px;
}

.so-takeaway-wallet-body,
.so-takeaway-wallet-card {
  position: absolute;
  display: block;
  border-radius: 10px;
}

.so-takeaway-wallet-body {
  left: 4px;
  right: 2px;
  bottom: 4px;
  height: 28px;
  background: #c2410c;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.34);
}

.so-takeaway-wallet-card {
  left: 10px;
  top: 2px;
  width: 25px;
  height: 18px;
  background: #fed7aa;
  transform: rotate(-9deg);
}

.so-takeaway-wallet-dot {
  position: absolute;
  right: 8px;
  bottom: 15px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
}

.so-takeaway-cashier-note {
  margin: -2px auto 0;
  color: #445366;
  font-size: 0.95rem;
  max-width: 420px;
}

.so-takeaway-detail-card {
  margin-top: 4px;
}

.so-takeaway-number-inline {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid #b9dec9;
  border-radius: 8px;
  background: #f4fbf7;
  color: #14532d;
  letter-spacing: 0;
}

.so-takeaway-payment-window {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}








.so-takeaway-statusbar {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.so-takeaway-statusbar span {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  min-height: 108px;
  padding: 12px 8px;
  border-radius: 8px;
  background: #f4f7fb;
  color: #667085;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.so-takeaway-statusbar i {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #d8e0ea;
  color: #475467;
  font-style: normal;
}

.so-takeaway-statusbar span.active {
  background: #edf7f2;
  color: #14532d;
}

.so-takeaway-statusbar span.active i {
  background: #2f9b76;
  color: #fff;
}

.so-takeaway-statusbar b {
  line-height: 1.15;
}

.so-takeaway-statusbar small {
  max-width: 100%;
  color: #667085;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

.so-takeaway-statusbar span.active small {
  color: #356454;
}

.so-takeaway-statusbar:not(.is-paid):not(.is-expired) span:first-child {
  background: #fff7ed;
  color: #9a3412;
}

.so-takeaway-statusbar:not(.is-paid):not(.is-expired) span:first-child i {
  background: #fb923c;
  color: #fff;
}

.so-takeaway-new-order-btn {
  position: relative;
  z-index: 2;
  width: min(100%, 320px);
  margin: 6px auto 0;
  pointer-events: auto;
}

.so-takeaway-card {
  border-color: #b9dec9;
}

.so-takeaway-card .unpaid-compact-head strong {
  color: #14532d;
}

.so-takeaway-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 800;
}

.so-takeaway-pay-btn {
  width: fit-content;
  min-width: 86px;
}

@media (max-width: 560px) {
  .so-takeaway-number {
    width: 100%;
    text-align: center;
  }

  .so-takeaway-pay-btn {
    width: 100%;
  }

  .so-takeaway-statusbar {
    gap: 4px;
  }

  .so-takeaway-statusbar span {
    gap: 4px;
    min-height: 112px;
    padding: 9px 4px;
    font-size: 0.64rem;
  }

  .so-takeaway-statusbar i {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .so-takeaway-statusbar small {
    font-size: 0.56rem;
    line-height: 1.2;
  }
}
